import request from '@/utils/request'

// 查询学籍信息列表
export function listStudent_place(query) {
  return request({
    url: '/app/student_place/list',
    method: 'get',
    params: query
  })
}

// 查询学籍信息详细
export function getStudent_place(studentPlaceId) {
  return request({
    url: '/app/student_place/' + studentPlaceId,
    method: 'get'
  })
}

// 新增学籍信息
export function addStudent_place(data) {
  return request({
    url: '/app/student_place',
    method: 'post',
    data: data
  })
}

// 修改学籍信息
export function updateStudent_place(data) {
  return request({
    url: '/app/student_place',
    method: 'put',
    data: data
  })
}

// 删除学籍信息
export function delStudent_place(studentPlaceId) {
  return request({
    url: '/app/student_place/' + studentPlaceId,
    method: 'delete'
  })
}
